﻿@model GestionInmobiliaria.Web.UsuarioWS.Usuario

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Usuario</legend>

    @Html.HiddenFor(model => model.id)

    <div class="display-label">Login</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.login)
    </div>

    <div class="display-label">Clave</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.clave)
    </div>

    <div class="display-label">Admin</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.admin)
    </div>

    <div class="display-label">Rol</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Rol.id)
    </div>
</fieldset>

@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}